package editer;

import sys.io.File;

class FileSystem {
	public function new():Void {}

	public function exists(path:String):Bool {
		return sys.FileSystem.exists(path);
	}

	public function readFile(path:String):String {
		return File.getContent(path);
	}

	public function readDir(path:String):Array<String> {
		return sys.FileSystem.readDirectory(path);
	}
}
